package com.example.justbuy.service.Impl;

import com.example.justbuy.mapper.MembersMapper;
import com.example.justbuy.pojo.Member;
import com.example.justbuy.service.MembersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MembersServiceImpl implements MembersService{

    @Autowired
    private MembersMapper membersMapper;
    @Override
    public Member getByVipCode(String vipCode) {
        return membersMapper.getByVipCode(vipCode);
    }
}
